Add Controls to a Form
All the available Controls are accessed from the Toolbox Pane. You can add a Control to a form in one of the following ways:
-
Double-click a Control item in the Toolbox; it will be added to the current form at the top-left.
-
Drag a Control item from the Toolbox onto a form.
-
Select a Control item in the Toolbox, then draw a selection rectangle on the current form.
Once the Control is on the form, click on it to select it. This will display the Properties for the Control in the Properties Pane. You can now edit any of the Property settings, such as the Control's Caption.
If you have specified multiple Target resolutions for a Platform, you will notice that the new Control has been added under each resolution. Likewise, with a Linked mode Project, the Control will be placed on the form under each of your supported Platforms. If required, you can edit, size and position the Control separately within each screen resolution and each Platform. For Mixed mode projects, a Control is only added to the current form, but will be added to each resolution of that form, if you have specified multiple resolutions.
- Control names must be unique within a Project and when you add a new Control it is automatically given a unique name. If you want to change the Control's name to something more meaningful, select the Control in the Forms Pane to display its Properties in the Properties Pane. You can then edit the Name Property to rename the Control. If you are working in Linked Mode, all your supported Platforms share the same forms and Controls, so you only need to rename the Control once under any one of your supported Platforms.